From 0ef42686ce8e55674aea2b7766a4b3440f125ea1 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 27 May 2007 23:17:32 +0000 Subject: [PATCH] (log-edit-changelog-paragraph): Return point-max as the end of the ChangeLog paragraph when it ends without a line termination. --- lisp/log-edit.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/log-edit.el b/lisp/log-edit.el index ed0a5c464e9..8f63635ee49 100644 --- a/lisp/log-edit.el +++ b/lisp/log-edit.el @@ -538,7 +538,7 @@ If we are between paragraphs, return the previous paragraph." (point)) (if (re-search-forward "^[ \t\n]*$" nil t) (match-beginning 0) - (point))))) + (point-max))))) (defun log-edit-changelog-subparagraph () "Return the bounds of the ChangeLog subparagraph containing point. -- 2.30.2